<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>领到一个红包</title>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="wf/main.css">
    <link href="css/widget_menu.css" rel="stylesheet">

</head>
<style>
    button {margin: 40px auto;display: block}
</style>
<body>
<div class="bs_redpocket" id="product_detail_wp"></div>
<footer id="footer"></footer>
<div class="bs_float_menu"><a href="/wx/index.html"><span class="wicon-home"></span></a></div>
<script type="text/html" id="product_detail">
    <div class="bs_show_pocket">
        <span class="font24 red2 bs_money bold"><%=goods_info.profit%></span><span class="font12 black">元</span>
    </div>
    <div class="clear"></div>
    <div class="bs_btn_orange" onclick="deal_share();">立即分享给好友</div>
    <div class="clear"></div>
    <div class="bs_pro_show">
        <div class="bs_use_pocket_title mb10">使用红包：</div>
        <div class="bs_pro">
            <div class="bs_pro_img"><img src="<%=goods_info.goods_image_url%>" width="400"></div>
            <div class="bs_pro_title font14"><%=goods_info.goods_name%></div>
            <ul>
                <li><div>售价：</div><div class="bs_w50"><%=goods_info.goods_price%>元</div></li>
                <li><div>-红包：</div><div class="bs_w50"><%=goods_info.profit%>元</div></li>
                <li><div class="font14">还需支付：</div><div class="red bold bs_w50"><%=goods_info.pay_much%>元</div></li>
            </ul>
            <div class="clear"></div>
            <div class="bs_btn_buy" onclick="redirect_to_goods_detail();">立即购买</div>
        </div>
    </div>
    <div class="clear"></div>
    <div class="bs_main_foot mt10  bs_btn_orange" onclick="deal_attention();">关注微享购商城,获取更多优惠</div>
    <div class="clear"></div>
</script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript" src="js/template.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/swipe.js"></script>
<script src="js/jweixin-1.0.0.js"></script>
<script type="text/javascript" src="js/wx_common.js"></script>
<script type="text/javascript" src="js/tmpl/footer.js"></script>
<script type="text/javascript" src="js/tmpl/share.js"></script>
<script>
    function redirect_to_goods_detail(){
        //组装跳转url
        var redirect_url = get_root_url()+WapSiteUrl+'/tmpl/product_detail.html?goods_id='+GetQueryString('gid');
        //redirect_url = changeURLParam(redirect_url,'rec',getcookie('share'));
        wx_redirect(redirect_url);
    }
</script>
</body>
</html>